package com.czy.designPatterns.适配器模式.对象适配器模式;

/**
 * @Author: czy
 * @Date: 2019/6/10 11:47
 */
public class Adapter implements A {
    private B b;

    public Adapter(B b) {
        this.b = b;
    }

    @Override
    public void isA() {
        b.isB();
    }
}
